package com.theaf.core.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/** --
 * @Author:songwenke
 * @Description:Repository层权限编码注解
 * @Date:create in 17:30 2017/12/13
 * @Modified By:
 **/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Authority {
    String code() default "功能编码";
}
